package guda.stark.dal.dao;

import guda.stark.dal.dataobject.ElecRuleDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface ElecRuleDAO {


    Long insert(ElecRuleDO elecRule);


    ElecRuleDO getElecRuleById(Long ruleId);


    boolean delElecRuleById(Long ruleId);

    List<ElecRuleDO> getElecRuleByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long ruleId);

    List<ElecRuleDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(ElecRuleDO elecRule);

}
